package server;


import java.util.List;

public class Mapper {


    static class MapperElement{
        public String name;
        public Object object;
    }

    static class Host extends MapperElement {
        public String appBase;
        public List<Context> contexts;
        public Host(String name, String appBase) {
            this.name = name;
            this.appBase = appBase;
        }

        public Host(String name, String appBase, List<Context> contexts) {
            this.name = name;
            this.appBase = appBase;
            this.contexts = contexts;
        }
    }

    static class Context extends MapperElement {
        public List<Wrapper> wrappers;
    }

    static class Wrapper extends MapperElement {

    }

}
